<template>
  <div>
    <van-tabbar v-model="active">
      <van-tabbar-item to="/home" icon="home-o">标签</van-tabbar-item>
      <van-tabbar-item to="/category" icon="search">标签</van-tabbar-item>
      <van-tabbar-item to="/cart" icon="friends-o">标签</van-tabbar-item>
      <van-tabbar-item to="/user" icon="setting-o">标签</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {
    //   active: 0,
    };
  },
  created() {},
  computed: {
    active: {
      get() {
        return this.$route.meta.activeNum;
      },
      set() {},
    },
  },
  methods: {},
};
</script>

<style scoped lang="less">
</style>
